take out debugging statement for match method