added support for channels