refactoring

missing implementation of copy constructor