init write