added statistic code to the network page