Replaced new Array with []