should be using lodash