work on the model retrieval