Added support for several balls at once