now uses a buffered image for both images