Please add curly bracket around this if statement.