renamed db constants