updated for jumping balls