tidy code (add brace around block statement)