use lodash's main