ensured no overwrite of pictures