network checking added