extending writer