implementation of tag search/display