added build_stack=true