Use client_id as index