get sample app working