tightend findMatch and getVersion functions