deepcopy is imported but not used