added reading array in sequential way