Factor out value creation