Use functional patterns for clearer code | Zoonk