should use foreach rather than map to indicate you don't care about the return value