add paste img and draw function