preparing advanced tags