documenting and cleaning up page