basic retrieval working, advanced cursor retrieval tested