updated images and SSD function