distribute @resource