Ball class