rewrite the "tob" module and made a better one called network instead