explicitly pass the list of all resources
(why is this necessary!?)