switched underscore to lodash