ball counter is working