could you check the return of `allocateNetwork`