add scan and limit
merge