change localdata name to populate variables