threading over {ids} lists