add spaces before curly braces  and after for if conditions