*added function to search for different tags #2293