add section on patterns and some new diagrams