adding a more complex example