correct writer syntax