Controller modified for tag.