trying to get a local db working