add entity dependency