Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
http://replay.pokemonshowdown.com/randombattle-140552018
On turn 2 and 3, AD loses a turn on the Volt Switch. The switching should be complete at the end of Turn 2, not at the beginning of Turn 3.