support multiple resources