search method and mapping