made a new function within shape to set all the points easier