adding vars and refs to vc.h
added more code, needs editing to reflect changes in var names