modified testTAMNCAP