add uri matches method