added semicolons to end of functions