started to work on a little bit more complex example