Change name to pattern-state