add a simple root matching method