bouncing balls start code