some fixes
ACK, NACK implemented