added moving ball, collision support