working towards DB-ing the app