#1: implemented getImageFromName and deleteKey