adding the delay back into the image rendering