some more complex coding examples (less visual)