added ball collision demo