modified for vc