use lodash library for equality