working for small values of clients