these two are used to inform each runnable of its resources? Or what is the purpose? A comment would help.