Adding VDS logic