add patches and text styling
add D3Image to rewrite