sample app tutorial from michael hurtle