added support for magnitude channel