added image processing completion block