vars should match