store resource.