Further work on report, added some comments to code