possibility to save multiple write_func calls