nested resources for flags