Wrote annotator code