fix required to be an array of arrays.