get resources from cod