cloning view logic
view cloning logic