retrieval works correctly now