Homonym typo right->write. Use the right "write"