started to write copy constructor