though you need to handle the priority here which was the first reason to use the heap. Maybe we should just use a list there...