Added multiple networks, fixed color coding