c is now a 1d array