deep copy should be safer