Untested retrieval function.