Prepared drawing code