Replace array subscript operator by Insert()