resources are indexed by name now