mid$ implemented.