db class added