add entity comparison