Adding the heap