using dbconstants variable