refact search method with limit param