added DrawMode