client is renamed to connection