added function for appending channel and po