stores the shapes in an array