Runs and outputs period