documentation for the stack