missing semicolons, some whitespace, no need to re var things