added implementation of channel OR