addtl check for db