combine all array to single array
Merge pull request #2 from itsPG/change_to_single_array

combine all array to single array