Cahnged tmp variable to mtt_1 etc