run shapes in main program