Added VC switching Code