channel generator working