networking shit en refactoring