add comments and delete unneeded sections