improved extraction of annotations
version 4.1