made resolve-value more understandable