Hello Group, I'm currently polishing my priority queue implementation, and I'm in need for a name for some methods. I have the following behaviour now q = PriorityQueue.new q["0"] = 0 q["1"] = 1 q["2"] = 2 q.delete_min #=> ["0", 0] q.delete_min_return_key #=> "1" q.delete_min_return_priority #=> 2 and wonder how I could call the last two methods. I want these, because delete_min returns nil if the queue is empty, and I can't index nil. So for some code these additional functions are quite convenient. thanks for the input, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/