         guard let type = GAPBeaconType(rawValue: data[0])
             else { return nil }
         
-        let reducedData = data.subdata(in: (1..<data.count))
+        let reducedData = data.subdata(in: (1 ..< data.count))
         
         switch type {
 

    
    public init?(data: Data) {
        
        guard data.count >= type(of: self).minLength
            else { return nil }
        
        let companyIdentifier = CompanyIdentifier(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
        var additionalData = [UInt8]()
        
        data.enumerated().forEach { (index, element) in
            if index >= GAPManufacturerSpecificData.minLength {
                additionalData.append(element)
            }
        }
        
        self.init(companyIdentifier: companyIdentifier, additionalData: additionalData)

    
    public var data: Data {
        
        let identifierBytes = companyIdentifier.rawValue.littleEndian.bytes
        
        return Data([identifierBytes.0, identifierBytes.1]) + additionalData
    }
    
}
