migrate new drawing code ou.