cleaned up _.isEqual