attempting to get db working