tcmax = min(len(tc_names), 3)