tweaked blotter/kbest.rb