1. preparing for next batch of jobs: emptying the lists