calculations refactoring and subnet masks host overview