add some db stuff