removed semicolon and added {}