fixed 'nargin < 1' case. broke something else... typo?