added comparison to lodash