     var length: UInt8?
     
     /// Status
-    var status: AKMIDIStatus {
+    public var status: AKMIDIStatus {
         let status = internalData[0] >> 4
         return AKMIDIStatus(rawValue: Int(status))!
     }

        return 0
    }
    
    var data1: UInt8 {
        return internalData[1]
    }
    
    var data2: UInt8 {
        return internalData[2]
    }
    

    ///   - data:  [UInt8] bluetooth packet
    ///
    init(data: [UInt8]) {
        if let command = AKMIDISystemCommand(rawValue: data[0]){
            internalData = []
            //is sys command
            if command == .sysex{
                for byte in data{
                    internalData.append(byte)
                }
                length = UInt8(internalData.count)
            }else{
                fillData(command: command, byte1: data[1], byte2: data[2])
            }
        }else if let status = statusFrom(rawByte: data[0]){
            //is regular midi status
            let channel = channelFrom(rawByte: data[0])
            fillData(status: status, channel: UInt8(channel), byte1: data[1], byte2: data[2])
        }
    }
    
