Added WriterFunc