working on subresources