Added a more complex example