refined 01_loop_tdd.