added cloning an object