Added comment to explain row value function