INVESTIGATION OF THE PRE-IGNITION STAGE IN EDM