Now only one function call in monadic stack manipulation functions