add draw patten methos