add modes to this version of Cargo