cloning works but need to fix the way it works