adding getWriter