add db methods