fixed hw7_1, make_tm to new_tp