writing an example