removal of lodash dependency.