revert to old db constructor for now