enclosing all common transmission logic