extract out methods from create_ignoring_duplicates
dont change the ENV