overflow math added but fluctuates at lower frequency probably due to incorrect Timer2