added NAK processing