add option to set drawing size