more converstion to one-dimensional arrays