swapping out underscore for lodash