Use Map.lookup instead of findWithDefault