add telegraph graphing code