MM-1 with main loop