sending and receiving telegraph