helpers, comments, and formatting