added multidimensional arrays and two lines to arrays