section 3.4, more patterns