add-annotation function added, not done yet, changing interface after merging pulls