adding GV function, restoring TSDTV