fixed the subscripts