final version of new readiness code