Refactor use.rb