changed structure of Network