working on making statement matching fast