removed deepcopy. Now just doing it manually