The year that Tom Swift and His Electric Rifle was published, which depicts Africans in a negative and racist way, and the year that Tom Swift Among the Diamond Makers was based on Charles Parsons's attempts to synthesize diamonds using electric current.