fixed some typos, removed large unused sections