implementing XValueRepo