Corrected typos, added missing semicolon