Example
how to put all the pieces together