Trying to implement ACK