Updated Ball with class