read_annotation function added