fixed writer example