for generating sparks by opening or closing a coil circuit