readannotations func