added dbcheck