implemented some HeapPage functions