Lists to Arrays refactor