be more specific about which function is drawing the image