wrap the if with curly braces