change in custom clone code