added images and populateimage method