Changed network produce method to pass in side