add stack processing step