modified variables j and t