use mapc because we only want the side effects