Removed trailing whitespace and parentheses around the if