added kdb.rb