simplifying the timer changes

renamed a variable to better reflect what it does
added some comments