before adding images
merge