working progress with tag controls