making maps for each iteration