computing some additional info in expandedannotation