myShapes to double pointer