migration to lodash