removed deepCopy method