move v and a vectors to ch 3