add nested resources