remove debug print statements; improve send() docstring