writer in the scheduler constructor