added 1D non-parametric scan