create and check network