networks: removed extra code