Add function to calculate D of TD retrieval