updated app.rb;