Adding tags to snippet