updated sample app