started getting some db working