manage the resource