corrected the subscripts