added toList to ArrayHelper