add tag lookup functionality