changed networklistener structure