modifications to retrieval