added pop
added heaps