Pattern matching generator in progress