check for exact match or match within