DB Class corrected