         if byteValue.count >= 7 {
             
             // rest of data is attribute
-            self.attributeValue = Array(byteValue.suffix(7))
+            self.attributeValue = Array(byteValue.suffix(from: 7))
             
         } else {
             

            
        if byteValue.count > 1 {
            
            self.values = Array(byteValue.suffix(1))
            
        } else {
            

        
        let attributeOpcodeByte = byteValue[0]
        let formatByte = byteValue[1]
        let remainderData = Array(byteValue.suffix(from: 2))
        
        guard attributeOpcodeByte == self.dynamicType.attributeOpcode.rawValue,
            let format = Format(rawValue: formatByte),
