addded a model for subresources, including the actual current value of the resource