added the api from clone