add  "import deepcopy"