made getting and sending packets