Slight changes to make real network example actually working.