support multiple entities