changing steps to stages