changing to (d,i)