more commentary in code and stage 1 of reformatting page