Have thoughts on how to reduce the arrays needed