Changing function to follow conditional style guide req