Added ACK mechanism

close #1