Created class MagicBall