Added output
Added channel support