nearly there at combined heap
got the heap stuff working