changed q_iterated API