removed database instantiation for db queries table