testing T(k) roop