added comments reimplementing page numbers