added nested resources