refactor part 1, track vcd files