Computed vote frequency of keystrokes and timed the loop based on interval