reworded some sections, corrected some mistakes