fixed lots of typos/types, added beginning of last task