Addition of the THINK and DECIDE stages, plus a few new features:-