how was the telegraph useful to people in the past?