mark "write" method as code
Merge pull request #14 from dandv/patch-1

mark "write" method as code