reverted example to use lodash min