Optimization of annotation