small changes for VType