submit 5_refactored.rb