sending and receiving signals