add timer to ball detection script