working on 'clone' operation