modified dependencies method internal workings