another go at the sample app..