adding OnMux convenience function