added multiplex support for non-array contexts