Add helper function to empty stack