automatically reset the stack after getting a result