revise command module interface to take datachannel argument