Worked on cascade stage generation