add entity and annotation