renamed to stay consistent with MATLAB naming