example of the code