works

put code to work into the network listner or somting like that