         // actual PDU length
         let length = data.count
         
-        print("\(length) encoded bytes")
+        //print("\(length) encoded bytes")
         
         /// MTU must be large enough to hold PDU. 
         guard length <= maximumTransmissionUnit else { return nil }

    /// Performs the actual IO for recieving data.
    public func read() throws {
        
        print("Will read")
        
        let recievedData = try socket.recieve(maximumTransmissionUnit)
        
        print("Recieved data")
        
        // valid PDU data length
        guard recievedData.byteValue.count >= ATT.MinimumPDULength

        guard let opcode = ATT.Opcode(rawValue: opcodeByte)
            else { throw Error.GarbageResponse(recievedData) }
        
       // print("Recieved opcode \(opcode)")
        
        // Act on the received PDU based on the opcode type
        switch opcode.type {
