adding OnMux convenience function
Merge pull request #2 from edulix/master

Adding OnMux convenience function.