mesh-drawing implemented