allow sending and receiving messages