added buildChannel