better handling of annotations file

special function
new red population function

cleaner code, shorter and better commented