writer handler