move changes to app.rb