Refactored...6,7,8 are handled by V and the for loop.