added a tutorial as a pattern example