added the vRecord function.