add 2 level iteration code snippet