going home; need to generate thread schedule on-the-fly