implement searchTags