support multiple root nodes