changes some ball logic