uncommented latest MT code