fixed some of the subscripts and the expression