Asign resources functionality 2/2