Used an array of points instead of a set of individual point objects