 Decades before the invention of the telephone one of the first attempts to transmit more complex information by telegraph wire resulted in an early fax machine. It was the recording telegraph invented by Scotsman Alexander Bain in 1843. It synchronised the pendulums of two electric clocks placed about 70 kilometres apart in Edinburgh and Glasgow. Whenever the Edinburgh pendulum moved, a signal went along a telegraph wire to a solenoid that moved the Glasgow pendulum. Attached to each pendulum was a metal stylus. At Edinburgh, this swept backwards and forwards across a picture edged in copper, making an electrical contact whenever it met a line in the drawing. The Glasgow pendulum moved across paper soaked in potassium iodide, which changes colour with an electrical current. A scanned facsimile image was gradually constructed line by line. Improvements were made by other inventors and by 1865, a pan-telegraph system designed by Giovanni Casselli was sending thousands of faxes between Paris, Montsay and Lyon. In 1902, Arthur Corn of Germany demonstrated the first photoelectric fax system and later one based on radio. ITU played an important role by later approving the first international standards for fax machines, enabling the boom in fax technology.