add code to pass tests and create app.rb