Merge the if statements here and add braces to if-body.