added semicolons to keep jslint happy