handle annotated tags