Moved global variable to V.