small changes to sample app