CODE: Refactor MyTimer.