ball class