change for total clients
got it working finally, test it before pushing