modified testTAMTIM