Change string[] to ArrayList