added some db tasks