Again, it would be cleaner if we could change the draw_image function to take an extra argument.