added semicolons. it compiles now