setting write