Got rid of deepcopy