updating clone functionality
updating clone functionality continued