Adding design patterns from a tutorial