updated def for new images