remove duplicate and debugging
use callback for annotations