Replace passing Result and now pass a stack, next stack will have variables