implemented tag controller