changed client_id to integer