two tier search