add append for writer