add start/stop session and retransmit functions