Modified annotation_worker to improve speed