change in Net.of method