write own paging