fixed formatting on several pages and added comments