added preset write func