PW+Algorithm