replaced reactive object 'nwreac' with 'network'...concern about conflicts with network function, but working properly so far