fixed many typos, now compiles