init add writer
gofmt reader.go