first query form iteration