Create a method fillDependences