add entity resolution