move arrays to lists