new file:   chan.rb