added ability to have arrays of children amidst other child arguments