improved lodash integration