p039heap.c added