Renamed value1 to value
Added var trace