Variables `collisionWithHorizontalPad` and `collisionWithVerticalPad` don't exist anymore. You should now use `collisionWithPad` and `collisionWithWall`.

Also, I now realize that there was a bug with your previous submission: you only took into account the last ball of the array, since `collisionWithHorizontalPad` and `collisionWithVerticalPad` are reset for each ball. The bug will remain if you just replace it with `collisionWithPad`, unfortunately. You'll need to fix this bug before I merge.