modified structure and nested resources