created new tag controls
refactored old code to use new tag controls