removed unecessary variable in ball class