improve changes variable