writing settings