trying still to get poorman heap to work