second take on sample app