add step control for generating report