Improved dummy program

Better tested program flow