added dyanmic loading of images