added some sections and fixed some errors