added draw2d basic template