Replace new with array literal