to make capcall into repo