updated myapp.rb