refactoring in Value.cpp