draw2d is obsolete