add basic db stuff