skeleton code for Channel class