check the clone func