cponvert everything to array of arrays