Refactoring of slide 3.2 (advanced automation)

Refactoring of slide 3.2 (advanced automation)
TODO: add context