added some more db functions