Fixed typos, code compiles