added map for lists example