basic network checking
added network instance variable