added ACK waiting