updated takeaway.rb