write sample