Changed variables based off of data