public function getMainFromSource(int $sourceId): int
    {
        if (!array_key_exists($sourceId, $this->sourceMap)) {
            throw new \RuntimeException('Not mapped');
        }
        return $this->sourceMap[$sourceId];
    }