knife.rb modified