search function works with tags