change variable names, add correct percentage to end of program output