check for db check