take 2 of sample app from tutorial