Added tag to search function