ball bouncing prototype