change total code