Can add curly brackets to the if statements here?