Clarification about toValue and fromValue