add ack call to example of ack usage