Task: Question Generation
Input (English):  While Tom Swift is working on his latest new invention, the electric rifle, he meets an African safari master whose stories of elephant hunting sends the group off to deepest, darkest Africa. Hunting for ivory is the least of their worries, as they find out some old friends are being held hostage by the fearsome tribes of the red pygmies.
Swift builds two major inventions in this volume. The first is a replacement airship, known as The Black Hawk. This new airship is to replace The Red Cloud, which was destroyed during his adventures in Tom Swift in the Caves of Ice. This airship is of the same general construction as The Red Cloud, but is smaller and more maneuverable.
Of foremost notice is Swift's invention of the electric rifle, a gun which fires bolts of electricity. The electric rifle can be calibrated to different levels of range, intensity and lethality; it can shoot through solid walls without leaving a hole, and is powerful enough to kill a rampaging whale, as in their steamer trek to Africa. With the electric rifle, Tom and friends bring down elephants, rhinoceroses, and buffalo, and save their lives several times in pitched battle with the red pygmies. It also can discharge a globe of light that was described as being able to maintain itself, like ball lightning, making hunting at night much safer in the dark of Africa. In appearance, the rifle looked very much like contemporary conventional rifles.
Output (English): What invention is Tom working on?