Added reference of variable to replace values