control and writer are working