Worked on the Rollout of the algorithm