Removed unnecessary method moveToNextStage