add example with different ways to run a program