for a client