writing fdw...