change total to percent