manage local resource