Merge pull request #39 from Kostadin/combined_mode_example