sample app from the rub tutorial