added drawModes

added drawModes