 After much work, Whitehead introduced his "secret" in 1868 which overcame this.It was a mechanism consisting of a hydrostatic valve and pendulum that caused the torpedo's hydroplanes to be adjusted so as to maintain a preset depth.After the Austrian government decided to invest in the invention, Whitehead started the first torpedo factory in Rijeka.