completed basic snippets app functionality