Refactored into addImage(sourceImage, thisHandle) function