switched main branch back to using an array of arrays