messed around with tag generation. only made it messier.