removed min_heap until working