implemented gettags and tested it, I have also improved remove tag