This looks like it should be `forEach` not `map`.