more complex example added