added support for stereo modes