Updated pattern matching and tuples sections