created app functionality