adding stack operations