trying to solve cloning problems