fixed singleton Ball.java