adding 'tags' functionality to gui