made changes in app.rb to reflect previous changes to the program