How retrieval works