adding some db tools