Adding search and searchRange