added ivy retrieval