use mapc instead of mapcar since we just need side effects