fixed asserts, and network interface