small fix, more complex example