working with DB now