add text search method