post processing now removes trivial matches