implement interaction a map with a list