tag processing added