added new query for tag searching