tag initialization