d to start from the ri