implem for copy constructor