* fix spacing
* gracefully handle expected user-supplied variables/content being undefined