Started to implement sweep.