add page number for memory