add stack, support sub workflow