working on example using subresources and auto-role building for new version