Cache and reuse value
Merge pull request #476 from Dmitry-Me/cacheAndReuseValue2

Cache and reuse value