add stack manager