sending packets improved