adding attribute inference