Got program working for independant channels