Improved performance of matching using extra variables