The mystery of the cog railway