added some db methods