After fixing L-D 3.4 he will eventually ask to leave, as a parting gift, he will give you the Golden Cog, two people will ask to use it,

  1. The Scientist
  2. The Sultan

If you give it to the Sultan, he will give you 1000 gold in return, whereas the Scientist will make a new character, known as L.A.P.I.N. who will become a recurring encounter.