added ability to record multiple channels