use io.Writer as an interface example