Replaced a variable with simple field reference