Work in progress on egs_net (will be amended)