rename setwriter to set