Change ArrayList to List<T>