ret for data cli