modified myapp.rb