All functions now take in the channelStruct. Needs to be changed so it is the same in Ping