bouncing ball working