added handler for networks evetns