start keeping track of term and index in log file and requests...