use reference image