cleaned scan1D