retrieval demo working