can make a db and instantiate class