stack.patterns