added pendingRemoval for the messages