snap sample app