Consolidated helper functions, better search explanations