Updates for getting tests to run
Added getChannel function