li'l tweaks to max and differenceWith