removed "trying to match" debug prints