semicolons were in the wrong place