handle annotated terms