Changed variable referencing