some changes to ball.v variable names and such