finish up writer class.