`map` should be `foreach`