ensure we have curly braces for all while/if