documented nested timers
removed unmatched timer
changed print statements to logging