converter based on old code
draw settings