connectors.sml corrected C example program