rename receivedMesages to acknowledged
remove method addAcknowledgedMessages