removed writer class from parser