inspected footer and added corrections in comments