Change sendObject to sendPacket for safety