example of using maps and looping over them