braces in IF and ELSE should be in same line