refactored to make it easy to add balls