Make "withNetwork" a constant