removed console.log and unneeded v=0
removed console.log and unneeded v=0