States related to if statement should always be wrapped with curly braces