writing the sample