The present invention pertains to a method for removing a substance from a solid metal or semi-metal compound by electrolysis in a melt of M2Y, which comprises conducting the electrolysis under conditions such that reaction of X rather than M2 deposition occurs at a electrode surface, and that X dissolves in the electrolyte M2Y. Further, the apparatus includes a malicious code determination unit configured to determine whether a next execution address is within the normal address range information when there occurs an event derived from the breakpoint. The keypad is mounted on the base so as to be visible and accessible when the mirror compartment is in its folded retracted position and hidden and inaccessible when the mirror compartment is in it’s extended, operational position. This allows for a tradeoff between output amplitude and power consumption.