refactor out findSendablePacket