maxWithMaybe