add forceNetwork function