a note on loop syntax and better parens pretty printing