ball detection and yesterdays changes