added image retrieval
merged