the sample app is now completely working