modified myapp for testing