added ball class