then calculate the values of I