Set Function Created

assign the received object to the new node that we declare