finally working reading cargos from cli