added some extensions and removed some semicolons