W-S scratch
W-S algorithm ended