rearranged $tag