Added Dba error checking