Pattern matching

shape