Removed "begin" in "if" clause