Replaced underscore with lodash