kbest.rb fixed. still left to do: decide how to treat the results