updated to be able to publish a list of detected balls