added some db stuff